package cn.edu.scau.cmi.zhangjinchuan.hibernate.domain;

import java.util.Set;

import java.util.HashSet;

public class Student implements java.io.Serializable{
	
	private String id;
	private String name;
	private Teacher teacher;
	
	public Student() {
		
	}
	
	public Student(String id) {
		this.id = id;
	}
	
	public Student(String id, String name) {
		this.id = id;
		this.name = name;
	}
	
	public String getId() {
		return id;
	}
	
	public void setId(String id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public Teacher getTeacher() {
		return teacher;
	}
	
	public void setTeacher(Teacher teacher) {
		this.teacher = teacher;
	}

		
}
